using MediatR;
using Medical.ErrorCode;

namespace Medical.Api.Write.Application.Command.Wms.WmsLssueCommand
{
    /// <summary>
    /// 根据出库单主键Id新增发放单命令
    /// </summary>
    public class AddLssueFromOutCommand : IRequest<ApiResult<bool>>
    {
        public int OutId { get; set; }
        public string LssueName { get; set; }
        public string AcceptName { get; set; }
        public AddLssueFromOutCommand(int outId, string lssueName, string acceptName)
        {
            OutId = outId;
            LssueName = lssueName;
            AcceptName = acceptName;
        }
    }
}